package com.oig.auth.api.fallback;

import com.oig.auth.api.SystemService;
import com.oig.sys.auth.vo.SystemVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class SystemServiceFallbackImpl implements SystemService {

    @Setter
    private Throwable cause;

    @Override
    public SystemVo info(Integer systemId) {
        log.error("feign get system info error id:{}, case:{} ", systemId, cause);
        return null;
    }
}
